package com.ceb.proxy;

import com.ceb.service.Host;
import com.ceb.service.Rent;

/**
 * @author name:dss
 * @version 1.0
 * @description: TODO
 * @date 2022/8/232022/8/23
 */
public class Cilent implements Rent {

    private Host host;
    public Cilent(Host host){
        this.host=host;
    }

    public void rent() {
        System.out.println("带客户看房");
        host.rent();
        System.out.println("收中介费");
    }
}
